/**
 * 
 */
var myCtrl = angular.module("myApp.performance",[]);
myCtrl.controller('performanceController',["$rootScope","$scope","$filter", "performanceService","$state","LoadingDataProject","LoadingData","pointService", function($rootScope,$scope,$filter,performanceService,$state,LoadingDataProject,LoadingData,pointService){
	
	$scope.queryMyProject = function(){
		pointService.queryAccountInfo().success(function(result){
			if(result.code == 0){
				$scope.rewardIntegral = result.data.rewardIntegral;
			}
		})
		var param = {};
		$scope.data = new LoadingDataProject("/performance/queryMyProject/", param);
		
	}
	
	$scope.queryMyReward = function(){
		var param = {};
		$scope.data = new LoadingData("/performance/queryMyReward/", param);
	}
	
	
}])